#include <stdio.h>
int main(){
    int arr[][5]={{1,2},{3,4,5},{6,7,8,9},{10,11,12,13,14}};
    int *p =&arr[0][0];
    for(int i=0;i<5;i++){
        printf("%d ",*(p+i*i));
    }
    int a[1000]={1,2};
    for (int i=0;i<1000;i++){
        printf("%d ",a[i]);
    }
    return 0;
}